package com.tsd.jxc.fin.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinanceFundDetail;
import com.tsd.jxc.fin.entity.JxcFinanceFundDetailExt;
import com.tsd.system.entity.SysUser;
import com.tsd.system.entity.SysUserExt;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinanceFundDetail服务实现层接口
 *
 * @author Hillpool
 * @date 2023/02/09 18:00:21
 */
public interface JxcFinanceFundDetailService {

    /**
     * 描述：根据id获取JxcFinanceFundDetail
     *
     * @param id
     */
    JxcFinanceFundDetail getJxcFinanceFundDetailById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcFinanceFundDetail
     *
     * @param sid
     */
    JxcFinanceFundDetailExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcFinanceFundDetail
     *
     * @param list
     */
    void deleteJxcFinanceFundDetails(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcFinanceFundDetail
     *
     * @param record
     * @param opUser
     */
    void saveJxcFinanceFundDetail(JxcFinanceFundDetailExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinanceFundDetail
     *
     * @param params
     * @param page
     */
    List<JxcFinanceFundDetailExt> findJxcFinanceFundDetails(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinanceFundDetail
     *
     * @param params
     */
    List<JxcFinanceFundDetailExt> findJxcFinanceFundDetails(Map<String, Object> params) throws Exception;

    void changeJxcFinanceFundDetailAuditState(List<String> sidList, Integer state, SysUserExt opUser) throws Exception;

    void cancelJxcFinanceFundDetail(List<String> sidList, SysUserExt opUser) throws Exception;
}